home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dr. Windows 3
/
dr win3.zip
/
dr win3
/
NEW_TECH
/
SIM_IN.ZIP
/
MAKEFILE
next >
Wrap
Text File
|
1994-01-31
|
903b
|
33 lines
# Nmake macros for building Windows 32-Bit apps
# Use this makefile to compile the usercode.dll with
# the Microsoft 32-bit command line compiler for Alpha or Intel
!include <ntwin32.mak>
all: usercode.dll
OBJS = usercode.obj usercode.rbj
usercode.obj: usercode.c
$(cc) $(cflags) $(cvarsdll) $(scall) usercode.c
usercode.res: usercode.rc
rc -r usercode.rc
usercode.rbj: usercode.res
cvtres -$(CPU) $usercode.res -o usercode.rbj
usercode.exp: usercode.def
$(implib) -machine:$(CPU) \
-def:usercode.def \
-out:usercode.lib usercode.obj
usercode.dll: $(OBJS) usercode.lib usercode.def usercode.rbj usercode.exp
$(link) $(linkdebug) $(lflags) \
# -base:0x1c000000 \
-dll \
-entry:DllMain$(DLLENTRY) \
-out:usercode.dll usercode.exp $(OBJS) $(guilibsdll)